package com.google.fbyoutube.client.widget;

import com.google.fbyoutube.shared.ytVideoEntry;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.VerticalPanel;

public class WidComList extends Composite {
  
  private VerticalPanel commentPanel = new VerticalPanel();

	public WidComList(ytVideoEntry video) {
		
		HTML htmlHereAreThe = new HTML("<fb:comments xid='youtube-" + video.getId() + "' />");
		commentPanel.add(htmlHereAreThe);
		
		initWidget(commentPanel);
	}

}
